﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="IISDeploy.Domain" namespace="IISDeploy.Domain.Core">
  <class name="Server" table="Servers" lazy="false">
    <id name="Id" column="Id">
      <generator class="identity"/>
    </id>
    <property name="Name" column="Name" type="string" unique="true"  length = "250" not-null="true"/>
    <property name="IpAddress" column="IpAddress" type="string" unique="true" length ="15" not-null ="true"/>
    <property name="Description" column="Description" type="string" unique="false" not-null ="false"/>
  </class>
</hibernate-mapping>